package com.mingke.chat;

import com.mingke.chat.message.logic.EasyChatLogicContext;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author mingke
 * @function 会话服务主启动类
 * @date 2021/12/14
 */
@SpringBootApplication(scanBasePackages = {"com.mingke.chat", "com.mingke.common"})
@MapperScan("com.mingke.common.mapper")
public class ChatMain {
    public static void main(String[] args) {
        EasyChatLogicContext.instance.setContext(SpringApplication.run(ChatMain.class, args));
    }
}
